package com.richapp.launcher.scene.interfaces;

public interface ISceneConditions{
	
	/**
	 * 主要条件类型
	 */
	//时间条件
	public static final int SCENE_CONDITION_TYPE_TIME = 0;
	//传感条件
	public static final int SCENE_CONDITION_TYPE_SENSOR = 1;
	//状态条件
	public static final int SCENE_CONDITION_TYPE_STATUS = 2;
	
	/**
	 * 获取主条件类型
	 * @return int 
	 */
	public int getConditionType();
	
	/**
	 * 获取主条件下的次要条件类型
	 * @return
	 */
	public int getConditionSubType();

	/**
	 * 条件检查
	 */
	public boolean checkCondition(String sceneName);



}
